﻿@{
    Layout = "";
}
<div style="display: none;" id="img_overlay"><img src="@ViewBag.ImgSrc"/></div>
<script type="text/javascript">
    $(document).ready(function() {
        $("#img_overlay").overlay({
            mask: {
                color: '#000',
                opacity: 0.8
            },
            closeOnClick: true, top: "15%", fixed: false, load: true
        });
    });
</script>